<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
	<meta name="Keywords" content="{$SEO['keywords']}" />
	<meta name="Description" content="{$SEO['description']}" />
	<link type="text/css" rel="stylesheet" href="template/default/statics/css/haidao.css" />
	<link type="text/css" rel="stylesheet" href="template/default/statics/css/public.css" />
	<script type="text/javascript" src="template/default/statics/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="template/default/statics/js/haidao.web.general.js"></script>
	<script type="text/javascript" src="template/default/statics/js/common.js"></script>
	<script type="text/javascript" src="./statics/js/dialog/dialog-plus-min.js"></script>
	<link type="text/css" rel="stylesheet" href="./statics/js/dialog/ui-dialog.css" />
	<script type="text/javascript" src="template/default/statics/js/cart.js"></script>
	<script type="text/javascript" src="{__ROOT__}statics/js/haidao.validate.js"></script>
	<script type="text/javascript"> hd_cart.init(); </script>
	{$site_rewrite_other}
	<!--[if gte IE 8]> 
		<link type="text/css" rel="stylesheet" href="template/default/statics/css/compatible.css" />
	<![endif]--> 
</head>
<body>
	<!-- 顶部工具条 -->
	<div class="layout border-bottom bg-gray-white">
		<div class="site-bar container">
			<ul class="fl">
				<li><a class="fun-homepage" href="javascript:;">设为首页</a></li>
				<li class="spacer"></li>
				<li><a class="fun-favorite" href="javascript:;">收藏本站</a></li>
			</ul>
			<ul class="fr">
				<?php if ($this->member['id']): ?>
				<li><a href="{url('member/index/index')}"><?php echo $this->member['username'] ?></a></li>
				<li class="spacer"></li>
				<li><a href="{url('member/public/logout')}">退出登录</a></li>
				<li class="spacer"></li>
				<?php else: ?>
				<li><a href="{url('member/public/register')}">注册</a></li>
				<li class="spacer"></li>
				<li><a href="{url('member/public/login')}">登录</a></li>
				<li class="spacer"></li>
				<?php endif ?>
				<li><a href="{url('member/order/index')}">我的订单</a></li>
				<!-- <li class="spacer"></li>
				<li><a href="#">手机版</a></li> -->
			</ul>
		</div>
	</div>